Low-Stretch Spanning Tree on Benchmark Circuits
نویسندگان
چکیده
We show the testing results of Kruskal, Prim-Dijkstra for finding a low-stretch spanning tree for both unweighted graphs and weighted graphs transformed from benchmark circuits [1]. On unweighted graph, our implementation can get an average stretch of about 7 for all benchmark circuits. Kruskal’s algorithm gives good edge selection for finding short stretch edges, but does not work well for other large stretch edges. Prim-Dijkstra algorithm works well on Dijkstra’s part, but not well on Prim’s part. The shortest path algorithm may not give minimum spanning tree, but it can keep the average stretch of off-tree edges very small. On random weighted graph, in which all edges are given a random weight, our implementation can get an average stretch of about 6.5 for all benchmark circuits. This result is even better than unweighted graphs. Prim-Dijkstra algorithm works better than Kruskal’s algorithm, and this is mostly due to Dijkstra’s shortest path. What’s more, a ratio for about 0.9-0.95 can make Prim-Dijkstra algorithm works even better. The low-stretch spanning tree we get is a shortest path tree, with a slightly variation to minimum spanning tree.
منابع مشابه
A Metaheuristic Algorithm for the Minimum Routing Cost Spanning Tree Problem
The routing cost of a spanning tree in a weighted and connected graph is defined as the total length of paths between all pairs of vertices. The objective of the minimum routing cost spanning tree problem is to find a spanning tree such that its routing cost is minimum. This is an NP-Hard problem that we present a GRASP with path-relinking metaheuristic algorithm for it. GRASP is a multi-start ...
متن کاملA Note on Preconditioning by Low-Stretch Spanning Trees
Boman and Hendrickson [BH01] observed that one can solve linear systems in Laplacian matrices in time O ( m ln(1/ǫ) ) by preconditioning with the Laplacian of a low-stretch spanning tree. By examining the distribution of eigenvalues of the preconditioned linear system, we prove that the preconditioned conjugate gradient will actually solve the linear system in time Õ ( m ln(1/ǫ) ) .
متن کاملDiploma Thesis Minimum Stretch Spanning Trees
Spanning trees have always been of great interest in various areas of computer science. The same is true for the idea of shortest paths in a graph. Minimum Stretch Spanning Trees can be described as a combination of these two concepts. On the one hand they are spanning trees, on the other hand they have a minimum stretch which means that the distances between the nodes in the spanning tree rema...
متن کاملOn Minimum Average Stretch Spanning Trees in Polygonal 2-Trees
A spanning tree of an unweighted graph is a minimum average stretch spanning tree if it minimizes the ratio of sum of the distances in the tree between the end vertices of the graph edges and the number of graph edges. We consider the problem of computing a minimum average stretch spanning tree in polygonal 2-trees, a super class of 2-connected outerplanar graphs. For a polygonal 2-tree on n ve...
متن کاملSOLVING A STEP FIXED CHARGE TRANSPORTATION PROBLEM BY A SPANNING TREE-BASED MEMETIC ALGORITHM
In this paper, we consider the step fixed-charge transportation problem (FCTP) in which a step fixed cost, sometimes called a setup cost, is incurred if another related variable assumes a nonzero value. In order to solve the problem, two metaheuristic, a spanning tree-based genetic algorithm (GA) and a spanning tree-based memetic algorithm (MA), are developed for this NP-hard problem. For compa...
متن کامل